package cupk.abner;

public class Phone {
    private String name;

    private String CPU;

    private String RAM;

    private String memoryCapacity;

    @Override
    public String toString(){
        return this.name + "\n处理器：" + this.CPU + "\n内存：" + this.RAM + "\n存储容量：" + this.memoryCapacity ;
    }

    public String getCPU() {
        return CPU;
    }

    public void setCPU(String CPU) {
        this.CPU = CPU;
    }

    public String getRAM() {
        return RAM;
    }

    public void setRAM(String RAM) {
        this.RAM = RAM;
    }

    public String getMemoryCapacity() {
        return memoryCapacity;
    }

    public void setMemoryCapacity(String memoryCapacity) {
        this.memoryCapacity = memoryCapacity;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}